/**
 * 公共文件api
 */
import instance from "@/utils/request";

// 上传照片
export function uploadImage(data) {
    console.log(data);
    return instance.request({
        method: "post",
        url: "/file/image/upload",
        headers: { "Content-Type": "multipart/form-data" },
        data,
    })
}

//内部链接盲盒列表分页查询
export function GetLinkBoxApi(data) {
    return instance.request({
        method: "post",
        url: "/box/list/page",
        data,
    })
}